<%@page contentType="text/html; charset=UTF-8" %>
<%@include file="../../../webutil/tag.jsp" %>
<%    
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1    
response.setHeader("Pragma","no-cache"); //HTTP 1.0    
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server    
%>
<!DOCTYPE html>
<html>
	<head>
		<title>平台管理</title>
		<meta http-equiv="keywords" content="种子婴儿网">
		<meta http-equiv="description" content="种子婴儿网-后台管理">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/web_manager/web_manager_all.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/web_manager/index.css">
		 
		<script type="text/javascript" charset="UTF-8" src="${pageContext.request.contextPath}/js/jquery-1.7.1.js"></script>
	</head>
	
	<body>
		
		<div class="page_main">
			<div class="pctx"> 
				<div class="fenye">
					<jsp:include page="/webutil/paging.jsp">
						<jsp:param value="role!findrole.action" name="action"/>
					</jsp:include>
					<div class="searchinfo"></div>
					<div class="separator"></div>
				</div>
				
				<div class="page_TableList">
					<table cellpadding="0" border="0" align="center" width="100%" class="TableList">
						<tbody>
							<tr class="TableHeader">
							    <td nowrap="" align="center" width="5%">选择</td>
							    <td nowrap="" width="15%" style="word-break : break-all; ">角色名称</td>
							  	<td nowrap="" width="10%" style="word-break : break-all; ">角色描述</td>
							  	<td nowrap="" width="10%" style="word-break : break-all; ">操作</td>
						    </tr>
							<c:choose>
								<c:when test="${!empty scrolldata.records}">
									<c:forEach var="DBbean" items="${scrolldata.records}">
									    <tr class="TableLine1">
									    	<td width="5%"><input type="checkbox" onclick="check_one(self);" value="4083" id="run_select_4083" name="run_select[]"></td>
										    <td nowrap="" align="left" width="15%">
										    <img align="absmiddle" src="${pageContext.request.contextPath}/images/admin/titlepic.gif">
										    	<a style="color:blue" href="javascript:void(0);">
											    	${DBbean.map.ROLENAME}
										    	</a>
										    </td>
										    <td nowrap="" width="15%">${DBbean.map.ROLEDESC}</td>
										  	<td nowrap="" width="10%" align="center">
										  		<a href="javascript:void(0);">删除</a>
										  		&nbsp;&nbsp;
										  		<a href="${pageContext.request.contextPath}/menumodel!findMenuModelAll.action?baseform.type=privilegemodel&baseform.param=${DBbean.map.ROLEID}">
											    	分配资源
										    	</a>
										  	</td>
									    </tr>
								    </c:forEach>
								</c:when>
								<c:otherwise>
									<tr class="TableLine1">
										<td nowrap="" colspan="10" style="height:100px;" width="15%">没有相关记录！</td>
									</tr>
								</c:otherwise>
							</c:choose>
						    
						</tbody>
					</table>
				</div>
			</div>
			<div class="tblist_bot">
				科技改变生活
			</div>
			
			
		</div>
		
	</body>
</html>